import Pages from 'vite-plugin-pages'
export default function createPages() {
  return Pages({
    dirs: [{ dir: 'src/views', baseRoute: '/' }],
    extensions: ['vue'],
    exclude: ['**/component'],
    importMode: 'async'
  })
}
